//
//  HMCaseManageAllModel.m
//  仿真开发
//
//  Created by B.HOPE on 2017/3/26.
//  Copyright © 2017年 B.HOPE. All rights reserved.
//

#import "HMCaseManageAllModel.h"

@implementation HMCaseManageAllModel

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:_virustype forKey:@"virustype"];
    [aCoder encodeObject:_symptom forKey:@"symptom"];
    [aCoder encodeObject:_arrayAddCase forKey:@"arrayAddCase"];
    [aCoder encodeObject:_arrayImg forKey:@"arrayImg"];
    [aCoder encodeObject:_time forKey:@"timg"];
}

/**
 解档的方法
 
 */
- (instancetype)initWithCoder:(NSCoder *)aDecoder
{
    if(self = [super init])
    {
        _virustype = [aDecoder decodeObjectForKey:@"virustype"];
        _symptom = [aDecoder decodeObjectForKey:@"symptom"];
        _arrayAddCase = [aDecoder decodeObjectForKey:@"arrayAddCase"];
        _arrayImg = [aDecoder decodeObjectForKey:@"arrayImg"];
        _time = [aDecoder decodeObjectForKey:@"timg"];
        
    }
    
    return self;
}

@end
